Uses of Class
edu.uky.ai.csp.kr.Variable
| Package | Description |
|---|---|
| edu.uky.ai.csp.kr |
Contains the knowledge representation for constraint satisfaction problems
that use simple binary equals and not equals constraints.
|
-
Uses of Variable in edu.uky.ai.csp.kr
Fields in edu.uky.ai.csp.kr declared as Variable Modifier and Type Field Description VariableConstraint. leftThe left hand side of the constraintVariableConstraint. rightThe right hand side of the constraintVariableDomain. variableThe variable in questionFields in edu.uky.ai.csp.kr with type parameters of type Variable Modifier and Type Field Description java.lang.Iterable<Variable>Problem. variablesA set of all the variables defined for this problemMethods in edu.uky.ai.csp.kr with parameters of type Variable Modifier and Type Method Description voidProblem. addVariable(Variable variable, Domain domain)Defines a new variable, along with all the possible values it can be assigned, for this problem.DomainProblem. getDomain(Variable variable)Returns the set of possible values that a given variable can be assigned in the initial state of this problem.DomainSolution. getDomain(Variable variable)Returns the domain (i.e.Constructors in edu.uky.ai.csp.kr with parameters of type Variable Constructor Description Constraint(Variable left, Variable right)Constructs a new constraint object.Domain(Variable variable, java.lang.Object[] values)Constructs a new domain object with a given set of possible values.EqualsConstraint(Variable left, Variable right)Constructs a new equals constraint object.NotEqualsConstraint(Variable left, Variable right)Constructs a new not equals constraint object.